package com.zx.model.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*订单类*/
public class Order {
    private int id;                 //订单id
    private int userId;             //用户id
    private int receivingId;        //收获id
    private BigDecimal theFreight;  //运费
    private String payType;         //支付方式
    private Date createTime;        //创建时间
    private Date updateTime;        //修改时间
    private Integer available;      //可用
    private String state;           //订单状态
    private BigDecimal payAmount;   //实际支付金额
    private BigDecimal totalAmount; //总金额

}
